Stop Channel
AutomatR.GoogleCalendar.Activities.StopChannel
The "Stop Channel" activity in AutomatR is part of the Google Calendar activities package, allowing you to stop a channel associated with a specific Google Calendar. This activity is useful when you no longer wish to receive notifications or updates from a particular calendar through the channel.
Properties
Name | Description |
---|---|
Input | |
Calendar Name | Specifies the name of the calendar for which you want to stop the channel. String variables containing the calendar name. |
Channel ID | Specifies the unique identifier (ID) associated with the channel to be stopped. String variables containing the channel ID. |
Resource ID | Specifies the resource ID associated with the channel to be stopped. String variables containing the resource ID. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Stop Channel" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e. 1. |
How to use:
- Drag and drop the "Stop Channel" activity onto the workflow.
- Configure the properties by specifying the calendar name, channel ID, and resource ID associated with the channel you want to stop.
- Optionally, configure the delay and customize the display name.
- Execute the workflow to stop the specified channel for the given calendar in Google Calendar.
Example: Consider an example where the "Stop Channel" activity is used to stop a channel associated with the "Work Calendar" with a 2-second delay:
Stop Channel:
Display Name: "Stop Work Calendar Channel"
Calendar Name: "Work Calendar"
Channel ID: "channel123"
Resource ID: "resource123"
Delay: 2
In this example, the activity stops the channel with the specified channel ID and resource ID associated with the "Work Calendar," with a 2-second delay.